package a.fuzhou;

import a.xiamen.ShiRouAnimal;

/**
 * ClassName : a.fuzhou.Test
 * Desc : TODO
 *
 * @author : LINPQ
 * @date : 2020/12/19 19:00
 */
public class Test extends TuZi{


    public static void main(String[] args) {
        ShiCaoAnimal a1 = new ShiCaoAnimal();
        System.out.println(a1.zhuanQian());
        System.out.println(a1.zhuanQian(""));
    }

    public static void main2(String[] args) {
        TuZi tuZi = new TuZi();
        tuZi.setPassword("123456789");
        System.out.println(tuZi.getPassword());
        tuZi.setPassword(null);
        System.out.println(tuZi.getPassword());
        tuZi.setPassword("123456");
        System.out.println(tuZi.getPassword());
    }



    public static void main1(String[] args) {
        ShiCaoAnimal a1 = new ShiCaoAnimal();
        System.out.println(a1.def);
        System.out.println(a1.pro);
        System.out.println(a1.pub);
        System.out.println();

        TuZi a2 = new TuZi();

        System.out.println(a2.def);
        System.out.println(a2.pro);
        System.out.println(a2.pub);
        System.out.println(a2.type);
        System.out.println(a2.shicao());

        ShiRouAnimal b1 = new ShiRouAnimal();
        System.out.println(b1.pro);
        System.out.println(b1.pub);

    }
}
